<ion-header>
    <ion-navbar>
      <ion-title>研报详情</ion-title>
    </ion-navbar>
  </ion-header>

  <ion-content class="speaker-detail">
      <ion-list class='gfoa-list'>
          <ion-item>
            <ion-row>
              <ion-col width-25 class='title'>主题:</ion-col>
              <ion-col class='substance' [innerHTML]="info.title"></ion-col>
            </ion-row>
          </ion-item>
          <ion-item>
            <ion-row>
              <ion-col width-25 class='title'>报告类型:</ion-col>
              <ion-col class='substance'>
                <span>{{info.reporttypename}}</span>
              </ion-col>
            </ion-row>
          </ion-item>
          <ion-item>
            <ion-row>
              <ion-col width-25 class='title'>来源机构:</ion-col>
              <ion-col class='substance' [innerHTML]="info.brokername"></ion-col>
            </ion-row>
          </ion-item>

          <ion-item>
            <ion-row>
              <ion-col width-25 class='title'>作者:</ion-col>
              <ion-col class='substance' [innerHTML]="info.authornames"></ion-col>
            </ion-row>
          </ion-item>
          <ion-item>
              <div class="b1">
                <ion-list class='gfoa-list'>
                   <ion-item class='text-content attach-item m2' *ngFor="let file of reportFile" (click)='openFile(file.reportid,file.name)'>
                     {{file.name}}
                     </ion-item>
                 </ion-list>
               </div>
          </ion-item>
        </ion-list>
        <ion-item-divider color="light">正文</ion-item-divider>
        <div class="detailfont">{{info.summary}}</div>
        <ion-card-content>
          	<p class="f22">
       <span class="f3">{{info.title}}</span>
      </p>
        <p class="a4">{{info.abstract}}
        </p>
        <hr>

              <ion-fab>
                  <button ion-fab (click)="toggleComment('end')"><ion-icon name="text"></ion-icon></button>
                  <ion-fab-list side="left">
                    <button ion-fab color="primary" (click)="toggleComment('start')"><ion-icon name="text"></ion-icon></button>
                    <button ion-fab color="primary" ><ion-icon name="heart"></ion-icon></button>
                  </ion-fab-list>
                </ion-fab>
                <div class="areatext-container" *ngIf="isCommentStatus">
                    <!-- <div class="areatext-content" [(ngModel)]="entryInfo" contenteditable="true"> -->
                     <input type="text" class="areatext-content" [(ngModel)]="entryInfo" style="width:100%;display:block;">
                   <!-- </div> -->
                   <button ion-button small (click)="insertCommont()"><ion-icon name="send"></ion-icon>发送</button>
                   <button ion-button small (click)="toggleComment('end')"><ion-icon name="trash"></ion-icon>取消</button>
               </div>
              <div class="a11" >
                <span class="bot"></span>
                  <p><ion-icon name="heart" class="a5"></ion-icon>
                  小红，小明，小东，小明，小东，小明，小东，小明，小东，小明，小东，小明，小东</p>
                <div class="a6"></div>
                <p *ngFor="let item of commontInfo">{{item.orgname}} : {{item.content}}</p>
              </div>

            </ion-card-content>
            <!-- <ion-card>
              <ion-card-title padding>请评分：</ion-card-title>
              <div class="star-div" (click)="chooseStar($event)">
                <div *ngFor="let scoreMap of score.starMap; let indx = index">
                  <ion-icon name="star" *ngIf="score.star>=indx+1;" color="primary" style="padding-right: .5em" [attr.data-index]="indx"></ion-icon>
                  <ion-icon name="star-outline"  *ngIf="score.star<indx+1;" color="primary" style="padding-right: .5em" [attr.data-index]="indx+1"></ion-icon>
                </div>
                <span>{{score.starMap[score.star-1]}}</span>
              </div>
            </ion-card> -->

  </ion-content>








